import request from '@/utils/request'

/**
 * 发送手机验证码
 * @param {String} scene 使用场景
 * @param {Number} phoneNumber 手机号码
 * @returns Object
 */
export function sendVerificationCode(scene, phoneNumber) {
  return request({
    url: '/Sms/sendVerificationCode',
    method: 'post',
    data: {
      scene: scene,
      phone_number: phoneNumber
    }
  })
}
